<!--
 * @Description: 监控日志
 * @Author: HuiSir<https://gitee.com/huisir001>
 * @Date: 2025-08-01 08:58:29
 * @LastEditTime: 2025-08-02 20:42:59
-->
<template>
  <TablePage
    v-model:cols="tableCols"
    v-model:toolsOptions="toolsOptions"
    v-model:rowBtnsOptions="rowBtnsOptions"
    :listRequest="getReqLogsByPage"
  >
  </TablePage>
</template>

<script lang="ts" setup>
import useTableCols from "./hooks/useTableCols";
import useToolsOptions from "./hooks/useToolsOptions";
import useRowBtnsOptions from "./hooks/useRowBtnsOptions";
import TablePage from "@/components/TablePage/index.vue";
import { getReqLogsByPage } from "@/api/monitor/index";

// 配置项
defineOptions({ name: "ReqLogs", isFull: true });

// 表格配置
const tableCols = useTableCols();
const rowBtnsOptions = useRowBtnsOptions();
const toolsOptions = useToolsOptions();
</script>
